package cn.lanqiao.service;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.lanqiao.entity.Score;

public interface ScoreService {
    int add(Score score);

    List<Score> findAll();

    IPage<Score> findById(Page page, Integer studentId);

    List<Score> findById(Integer studentId);

    List<Score> findByExamCode(Integer examCode);
    
    List<Score> findBySubject(String subject);
    
    List<Score> findByAvg();
    
    List<Score> findByMax(String subject);
    
    List<Score> findByMin(String subject);
    
    List<Score> findByPass(String subject);
    
    List<Score> findByValue();
}
